package com.qiangesoft.bootcodegen.pojo.convert;

import com.qiangesoft.bootcodegen.entity.BcgColumnMap;
import com.qiangesoft.bootcodegen.entity.BcgDataSource;
import com.qiangesoft.bootcodegen.pojo.dto.BcgColumnMapDTO;
import com.qiangesoft.bootcodegen.pojo.dto.BcgDataSourceDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 字段配置 对象转换工具
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-28
 */
@Mapper
public interface BcgColumnMapConvert {

    BcgColumnMapConvert INSTANCE = Mappers.getMapper(BcgColumnMapConvert.class);

    BcgDataSourceDTO entityToDto(BcgColumnMap entity);

    BcgColumnMap dtoToEntity(BcgColumnMapDTO dto);
}